import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    projectID : 0,
    versionID : 0,
    forkID:0,
    userID:0,
    teamNameList:[],
  },
  getters: {
  },
  mutations: {
    setProjectID(state ,step ){
      state.projectID = step
    },
    setVersionID(state ,step){
      state.versionID = step
    },
    setForkID(state ,step){
      state.forkID = step
    },
    setUserID(state , step){
      state.userID = step
    },
    setTeamNameList(state,step) {
      state.teamNameList = step
    } 

  },
  actions: {
  },
  modules: {
  }
})
